﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/3/22 星期五 1:08:24
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Framework.DB
{
    /// <summary>
    /// 数据访问对象工厂类
    /// </summary>
    public class DAOFactory
    {
        /// <summary>
        /// 获取数据访问对象
        /// </summary>
        /// <typeparam name="T">数据访问对象类型</typeparam>
        /// <returns></returns>
        public static T GetDAO<T>() where T : class, new()
        {
            return new T();
        }
    }
}
